<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    /* 单行文本溢出呈现小圆点样式 */
    /* p {
      width: 200px;
      border: 1px solid black;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    } */

    /* 多行文本溢出呈现小圆点样式 */
    p {
      position: relative;
      width: 200px;
      height: 200px;
      line-height: 70px;
      border: 1px solid black;
      overflow: hidden;
      /* white-space: nowrap;
      text-overflow: ellipsis; */
    }
    P::after {
      position: absolute;
      content: '...';
      bottom: 0;
      right: 0;
      padding-left: 40px;
      background: linear-gradient(to right, transparent, #fff 50%);
    }
  </style>
</head>

<body>
  <p>文本溢出，呈现小圆点样式 文本溢出，呈现小圆点样式 文本溢出，呈现小圆点样式 文本溢出，呈现小圆点样式</p>
</body>

</html>